package microservicedemo.userclient.Client;

import lombok.extern.slf4j.Slf4j;
import microservicedemo.userclient.model.User;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class UserServiceFallback implements UserServiceClient{


    @Override
    public String login(User user) {
        log.info("login fallback");
        return " ";
    }

    @Override
    public boolean register(User user) {
        log.info("register fallback");
        return false;
    }
}
